package com.SRMS.domain;

import java.sql.Timestamp;

/**
 * @author Albert
 * @version 1.0
 * @date 2023/12/16-15:27
 * @describe RevokeRecord表对应类
 */
public class RevokeRecord {
    private String rightId;
    private String administratorId;
    private String revokeReason;
    private Timestamp revokeTime;
    private String studentId;
    private String studyRoomId;

    public RevokeRecord() {
    }

    public RevokeRecord(String rightId, String administratorId, String revokeReason, Timestamp revokeTime, String studentId, String studyRoomId) {
        this.rightId = rightId;
        this.administratorId = administratorId;
        this.revokeReason = revokeReason;
        this.revokeTime = revokeTime;
        this.studentId = studentId;
        this.studyRoomId = studyRoomId;
    }

    public String getRightId() {
        return rightId;
    }

    public void setRightId(String rightId) {
        this.rightId = rightId;
    }

    public String getAdministratorId() {
        return administratorId;
    }

    public void setAdministratorId(String administratorId) {
        this.administratorId = administratorId;
    }

    public String getRevokeReason() {
        return revokeReason;
    }

    public void setRevokeReason(String revokeReason) {
        this.revokeReason = revokeReason;
    }

    public Timestamp getRevokeTime() {
        return revokeTime;
    }

    public void setRevokeTime(Timestamp revokeTime) {
        this.revokeTime = revokeTime;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudyRoomId() {
        return studyRoomId;
    }

    public void setStudyRoomId(String studyRoomId) {
        this.studyRoomId = studyRoomId;
    }

    @Override
    public String toString() {
        return "RevokeRecord{" +
                "rightId='" + rightId + '\'' +
                ", administratorId='" + administratorId + '\'' +
                ", revokeReason='" + revokeReason + '\'' +
                ", revokeTime=" + revokeTime +
                ", studentId='" + studentId + '\'' +
                ", studyRoomId='" + studyRoomId + '\'' +
                '}';
    }
}
